How to start Doors Client process in background using c#

Hello everyone,
I want to run the application in background.I tried many aspects but my bad luck.
below is my code where I used the Process Method to run in background. 

private bool launchdoors(string username, string password, string location){
proc = Process.Start("doors.exe", "-u " + username + " -P " + password);
            proc.EnableRaisingEvents = false;
            proc.StartInfo.CreateNoWindow = true;
            proc.StartInfo.UseShellExecute = false;
            proc.StartInfo.WindowStyle = ProcessWindowStayle.Hidden;
return true;}

  

Thanks in Advanced.


Angad_Bangare - Mon Oct 09 07:12:52 EDT 2017